package com.xszx.server.mapper;

import com.xszx.server.dto.Page;
import com.xszx.server.entity.Chapter;
import com.xszx.server.entity.Teacher;

import java.util.List;

public interface TeacherMapper {
    //查询全部的大章
    List<Teacher> findAll(Page page);

    //统计当前表中的数据条数
    int findCount();
    //查询全部数据
    List<Teacher> findAllTeachers();

    int deleteByPrimaryKey(String id);

    int insert(Teacher record);

    int insertSelective(Teacher record);

    Teacher selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Teacher record);

    int updateByPrimaryKey(Teacher record);
}
